<?php
use yii\helpers\Url;

$this->title = 'J SELECT 会员中心';
$signPackage = \app\components\Jssdk::getSignPackage();
?>
<script>
var signPackage = <?= json_encode($signPackage) ?>;
var timestamp = "<?= $sign['timestamp']?>"  
var nonce_str = "<?= $sign['nonce_str']?>"    
var signature = "<?= $sign['signature']?>"    
</script>
<div>123123</div>
</body>
<?php
$this->registerJsFile('@web/jselect/js/wxjs.js', ['depends' => [\app\assets\HxkjAsset::className()]]);

$this->registerJsFile(Url::to('@web/jselect/js/get-card.js?t='.time(), true), ['depends' => [\app\assets\HxkjAsset::className()]]);

?>
</html>